import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [{
  path: '/',
  name: 'login',
  component: () => import('../views/login.vue')
},{
  path: '/index',
  name: 'index',
  component: () => import('../views/index.vue')
}

]
const router = new VueRouter({
  mode: "hash",
  routes
})

export default router
